![]() |
HRstFLock |
||||
Header: | Files.h | Carbon status: | Supported | |
Unlocks a file.
OSErr HRstFLock ( SInt16 vRefNum, SInt32 dirID, ConstStr255Param fileName );
A volume reference number, a working directory reference number, or 0 for the default volume.
A directory ID.
The name of the file.
A result code.
If the PBHGetVolParmsSync or PBHGetVolParmsAsync function indicates that the volume supports folder locking (that is, the bHasFolderLock bit of the vMAttrib field is set), you can use HRstFLock to unlock a directory.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)